package com.patterns.builder.carModel.builder;

import com.patterns.builder.carModel.Product.BMWModel;
import com.patterns.builder.carModel.Product.CarModel;

import java.util.ArrayList;

/**
 * Created by Xiao Yiyun on 2017/4/21.
 */
public class BMWBuilder extends CarBuilder {

    private BMWModel bmwModel = new BMWModel();

    public void setArrayList(ArrayList<String> arrayList) {
        this.bmwModel.setArrayList(arrayList);
    }

    public CarModel getCarModel() {
        return bmwModel;
    }
}
